<?php

namespace IDock\Insurance\DBIC\Response;

use IDock\Http\Response;

class PremiumInquirySaveResponse extends AllDBICResponse
{
    private $inquiryNo = '';

    public function printerInit(): Response
    {
        $this->inquiryNo = $this->getRecords(0)['quoteOrderNo'] ?? '';
        return $this;
    }

    public function getInquiryNo(): string
    {
        return $this->inquiryNo;
    }
}